/**
 * 
 */
package de.cbf.cam.dsa.model.entities.states.stateChanger;

import de.cbf.cam.dsa.model.entities.BattleChar;
import de.cbf.cam.dsa.model.entities.OneNPC;
import de.cbf.cam.dsa.model.util.Position3f;

/**
 * @author Nebelritter
 *
 */
public class StateChangerPosition extends StateChangerBase {
	/**
	 * @uml.property  name="x"
	 */
	private float x;
	/**
	 * @uml.property  name="y"
	 */
	private float y;
	/**
	 * @uml.property  name="z"
	 */
	private float z;
	
	public StateChangerPosition(float x, float y, float z) {
		super();
		this.x = x;
		this.y = y;
		this.z = z;
	}


	@Override
	public void changeState(OneNPC character) {	
	}

	
	@Override
	public void changeStateBattle(BattleChar character) {
		Position3f position = new Position3f(x, y, z); 
		character.setPosition(position);
	}
}
